.minicart {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    z-index: 9999999;
    transition: all 0.3s;
    .minicart_wrapper {
        position: absolute;
        right: 0;
        top: 0;
        width: 400px;
        background: #fff;
        height: 100vh;
        overflow-y: auto;
        transform: translate(100%, 0);
        transition: all 0.5s;
    }
    .minicart_top {
        display: flex;
        justify-content: space-between;
        height: 80px;
        align-items: center;
        padding: 0 30px;
        border-bottom: 1px solid #ddd;
        font-size: 24px;
        color: #1d1f21;
        color: var(--title_color);
        font-family: var(--title_font_family);
        font-style: var(--title_font_style);
        font-weight: var(--title_font_weigth);
        box-sizing: border-box;
        position: sticky;
        top: 0;
        z-index: 1000;
        background-color: #fff;
    }
    .minicart_empty_content {
        padding: 30px;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        height: calc(100vh - 80px);
        p {
            margin-top: 30px;
        }
    }
    .minicart_list {
        padding: 0 30px;
        overflow: auto;
        li {
            list-style-type: none;
            padding: 30px 0;
            border-bottom: 1px dashed #ddd;
            .product_info {
                display: flex;
                justify-content: space-between;
            }
            .product_info_pic {
                width: 80px;
                height: 80px;
                display: flex;
                justify-content: center;
                align-items: center;
                img {
                    max-width: 100%;
                    max-height: 100%;
                }
            }
            .product_info_info {
                position: relative;
                width: calc(100% - 100px);
            }
        }
        .product_custom_option {
            line-height: 24px;
            color: #888;
            font-size: 14px;
        }
    }
    .product_info_name {
        margin-bottom: 10px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        color: var(--title_color);
        font-size: var(--product_font_size);
    }
    .cart_list_content_items {
        margin-top: 15px;
        display: flex;
        justify-content: space-between;
        position: relative;
    }
    .product_info_sku {
        color: #888;
        line-height: 24px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }
    .minicart_qty {
        width: 120px;
        height: 34px;
        border: 1px solid #ddd;
        box-sizing: border-box;
        display: flex;
        a {
            height: 100%;
            width: 34px;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        input[name="minicart_qty"] {
            width: calc(100% - 68px);
            height: 100%;
            border: 0;
            text-align: center;
        }
    }
    .cart_qty_content {
        position: relative;
        .tip {
            text-align: left;
            color: #ff526c;
            margin-top: 10px;
        }
    }
    .product_total {
        display: flex;
        flex-wrap: wrap;
        margin-top: 10px;
    }
    .cart_list_delete {
        fill: #888;
    }
    .minicart_bom {
        width: 100%;
        padding: 30px;
        background: #fff;
        z-index: 9;
        box-sizing: border-box;
    }
    .minicart_price {
        li {
            list-style-type: none;
            display: flex;
            justify-content: space-between;
            height: 40px;
            line-height: 40px;
        }
    }
    .minicart_order_btn {
        .minicart_checkout {
            display: flex;
            border: 0;
            width: 100%;
            text-align: center;
            text-transform: uppercase;
            box-sizing: border-box;
            margin: 0;
        }
        .checkout_out_of_stock {
            background: #888;
        }
    }
    .minicart_order_link {
        margin-top: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        .links {
            text-decoration: underline;
            font-size: 16px;
            text-transform: uppercase;
        }
    }
}
.minicart_on {
    opacity: 1;
    visibility: visible;
    .minicart_wrapper {
        transform: none;
    }
}

@media (max-width: 767px) {
    .minicart .minicart_wrapper {
        width: 100%;
    }

    .minicart .minicart_top {
        height: 60px;
        padding: 0 14px;
    }

    .minicart .minicart_list {
        padding: 0 14px;
    }

    .minicart .minicart_bom {
        padding: 14px;
    }
    .minicart .minicart_list {
        max-height: none !important;
    }

    .minicart .minicart_bom {
        position: relative;
    }
    
}
